package cn.meye11.crm.mapper;

import cn.meye11.crm.domain.entity.RechargeRecordEntity;
import cn.meye11.crm.domain.query.RechargeRecordQuery;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;
/**
 * 充值记录表(RechargeRecord)表数据库访问层
 * 
 * @author makejava
 * @since 2023-11-18 19:20:48
 */
@Repository
public interface RechargeRecordMapper extends Mapper<RechargeRecordEntity> {

    @SelectProvider(type = RechargeRecordProvider.class, method = "list")
    List<RechargeRecordEntity> list(RechargeRecordQuery query);
    
    @SelectProvider(type = RechargeRecordProvider.class, method = "count")
    Long count(RechargeRecordQuery query);
}
